package com.yang.flower.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @Description: 用户表
 * @Author: Yang
 * @DateTime: 2022/11/14 21:35
 **/
@Data
@TableName(value = "user")
public class User {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String name;

    private String password;

    private String phone;

    private String email;

    private String address;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private String avatarUrl;

    private String role;

}
